﻿@model ICDA.Web.Models.UserModel
@{
    ViewBag.Title = "MyAccount";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<div class="tabscontainer">
    <div class="tabs">
        <div class="tab selected first" id="tab_menu_1">
            <div class="link">@Html.ActionLink("My Profile", "MyAccount", "Account")</div>
            <div class="arrow">
            </div>
        </div>
        <div class="tab last" id="tab_menu_2">
            <div class="link">@Html.ActionLink("Change Password", "ChangePassword", "Account")</div>
            <div class="arrow">
            </div>
        </div>
    </div>
    @using (Html.BeginForm())
    {
        @Html.ValidationSummary(true, "User Has been updated successfully")
        <div class="curvedContainer">
            <div class="tabcontent" id="tab_content_1" style="display: block">
                <div class="formcontainer">
                    <div class="formtr">
                        <div class="formlabes">
                            @Html.LabelFor(m => m.Name) :
                        </div>
                        <div class="formfield">
                            @Html.DisplayFor(Model => Model.Name)
                        </div>
                    </div>
                    <div style="height: 6px; float: left; width: 100%;">
                    </div>
                    <div class="formtr">
                        <div class="formlabes">
                            @Html.LabelFor(m => m.EmailID) :
                        </div>
                        <div class="formfield">
                            @Html.DisplayFor(Model => Model.EmailID)
                        </div>
                    </div>
                    <div style="height: 6px; float: left; width: 100%;">
                    </div>
                    <div class="formtr">
                        <div class="formlabes">
                            @Html.LabelFor(m => m.SkillSets) :
                        </div>
                        <div class="formfield">
                            @Html.DisplayFor(Model => Model.SkillSets)
                        </div>
                    </div>
                    <div style="height: 6px; float: left; width: 100%;">
                    </div>
                    <div class="formtr">
                        <div class="formlabes">
                            @Html.LabelFor(m => m.TeamName) :
                        </div>
                        <div class="formfield">
                            @Html.DisplayFor(Model => Model.TeamName)
                        </div>
                    </div>
                    <div style="height: 6px; float: left; width: 100%;">
                    </div>
                    <div class="formEditButton">
                        <a href="@Url.Action("EditMyInfo")" class="button orange medium">Edit</a>
                    </div>
                </div>
            </div>
        </div>
    }
</div>
